/*
 * @Author: 9ilk 3535851673@qq.com
 * @Date: 2024-11-05 17:14:59
 * @LastEditors: 9ilk 3535851673@qq.com
 * @LastEditTime: 2024-11-05 22:40:14
 * @FilePath: /zhuang/namePipe/Comm.hpp
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

#pragma once
#include<iostream>
#include<sys/types.h>
#include<sys/stat.h>
#include<string>
#include<unistd.h>
#include<fcntl.h>
using namespace std;

const string gpipefile = "./fifo"; //公共文件
const mode_t gmode = 0600;
const int gdeafultfd = -1; //默认fd
const int gsize = 1024; //默认缓冲区大小